package cn.itcast.service;

import cn.itcast.entity.PageResult;
import cn.itcast.pojo.Permission;

import java.util.List;
import java.util.Map;

public interface Sys_permissionService {

    PageResult queryPermissionList(Integer page,Integer pageSize,String queryString);

    List<Permission> queryPermissionList(Integer page,Integer pageSize);

    Boolean savePermissions(Map<String,String> map);

    Permission queryEditPermissions(Integer id);

    Boolean editPermissions(Permission permission);

    Boolean delPermissions(Integer id);

    List<Permission> queryPermissionsAll();
}
